<?php
// 事件定义文件
return [
    'bind'      => [
        'UserInvited' => 'app\event\UserInvited',
        'DistributionOrderCreated' => 'app\event\DistributionOrderCreated',
        'WorkChatMemberChange' => 'app\listener\WorkChatEventListener@onMemberChange',
    ],

    'listen'    => [
        'AppInit'  => [],
        'HttpRun'  => [],
        'HttpEnd'  => [],
        'LogLevel' => [],
        'LogWrite' => [],
        'UserInvited' => [
            'app\listener\DistributionNotify',
        ],
        'DistributionOrderCreated' => [
            'app\listener\DistributionNotify',
        ],
    ],

    'subscribe' => [
    ],
];
